import request from '@/utils/request'

export function list(data) {
  return request({
    url: '/iot/cnc/alarm/listRecord',
    method: 'post',
    data: data
  })
}

export function remove(data) {
  return request({
    url: '/iot/cnc/alarm/deleteRecord',
    method: 'post',
    data: { deleteIds: data }
  })
}

